<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">短信后缀管理</li>
  </ol>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="150">类型</th>
        <th>内容(双击'内容'可编辑)</th>
        <th width="200">备注</th>
        <th width="130">更新时间</th>
        <th width="60">更新人</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in list">
        <td>{{item.smsType}}
        <input type="hidden" ng-init="messageType[item.id]=item.smsType" ng-model="messageType[item.id]">
        </td>
        <td ng-dblclick="toUpdate(item.id)">
          <span ng-show="!isEdit[item.id]">{{item.smsContent}}</span>
          <input class="form-control" ng-init="messageContent[item.id]=item.smsContent"
          ng-if="isEdit[item.id]" name="smsContent" ng-model="messageContent[item.id]" ng-blur="updateContent(item.id)">
        </td>
        <td>{{item.smsRemark}}
          <input type="hidden" ng-init="messageRemark[item.id]=item.smsRemark" ng-model="messageRemark[item.id]">
        </td>
        <td>{{item.updateDate | date:"yyyy-MM-dd hh:mm:ss"}}</td>
        <td>{{item.updateBy}}</td>
      </tr>
    </tbody>
  </table>
</div>
